<!doctype html>
<html xmlns:th="http://www.thymeleaf.org">
<head>
    <meta charset="utf-8"/>
    <meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no"/>
    <meta name="description" content=""/>
    <meta name="author" content=""/>
    <title>订单首页</title>

    <!-- Bootstrap core CSS -->
    <link href="https://cdn.bootcss.com/bootstrap/4.1.1/css/bootstrap.min.css" rel="stylesheet"/>

    <!-- Custom styles for this template -->
    <style type="text/css" rel="stylesheet">
        html {
            font-size: 14px;
        }

        @media (min-width: 768px) {
            html {
                font-size: 16px;
            }
        }

        .container {
            max-width: 960px;
        }

        .pricing-header {
            max-width: 700px;
        }

        .card-deck .card {
            min-width: 220px;
        }

        .border-top {
            border-top: 1px solid #e5e5e5;
        }

        .border-bottom {
            border-bottom: 1px solid #e5e5e5;
        }

        .box-shadow {
            box-shadow: 0 .25rem .75rem rgba(0, 0, 0, .05);
        }
        .row .text-muted{
            font-size: 5px;
        }
    </style>

</head>

<body>
<div class="d-flex flex-column flex-md-row align-items-center p-3 px-md-4 mb-3 bg-white border-bottom box-shadow">
    <h5 class="my-0 mr-md-auto font-weight-normal">快马跑腿</h5>
    <nav class="my-2 my-md-0 mr-md-3">
        <a class="p-2 text-dark" th:href="@{/order/index}" >首页</a>
        <a class="p-2 text-dark" th:href="@{/order/addForSell}">帮我买</a>
        <a class="p-2 text-dark" th:href="@{/order/addForDeliver}">帮我送</a>
        <a class="p-2 text-dark" th:href="@{/order/addForTake}">帮我取</a>
        <td>
            <a class="p-2 text-dark"  th:if="${session.customer.type ==1}" th:href="@{/client/aboutUs}">关于我们</a>
            <a class="p-2 text-dark"  th:if="${session.customer.type ==2}" th:href="@{/order/list}">我的配送</a>

        </td>

    </nav>
    <nav id="navbar-example2" class="navbar navbar-light bg-light">
                <a class="nav-link dropdown-toggle" data-toggle="dropdown" href="#" role="button" aria-haspopup="true" aria-expanded="false" th:text="${customer.nickname}">Dropdown</a>
                <div class="dropdown-menu">
                    <a class="dropdown-item" th:href="@{/client/info}">个人信息</a>
                    <a class="dropdown-item" th:href="@{/order/myOrder}">我的订单</a>
                    <div role="separator" class="dropdown-divider"></div>
                    <a class="dropdown-item" th:href="@{/publiz/index}">注销</a>
                </div>
    </nav>
</div>

<div class="pricing-header px-3 py-3 pt-md-5 pb-md-4 mx-auto text-center">
    <h1 class="display-4">快马跑腿</h1>
    <p class="lead">1 to 1 professional service, send faster, do more</p>
</div>

<div class="container">
    <div class="card-deck mb-3 text-center">
        <div class="card mb-4 box-shadow">
            <div class="card-header">
                <h4 class="my-0 font-weight-normal">帮我买</h4>
            </div>
            <div class="card-body">
                <h1 class="card-title pricing-card-title">$5 - 300
                    <small class="text-muted">/ 元</small>
                </h1>
                <ul class="list-unstyled mt-3 mb-4">
                    <li>2km内任意买</li>
                    <li>20秒内迅速回复</li>
                    <li>更安全</li>
                    <li>更放心</li>
                </ul>
                <a type="button" class="btn btn-lg btn-block btn-outline-primary" th:href="@{/order/addForSell}" >买单页面</a>
            </div>
        </div>
        <div class="card mb-4 box-shadow">
            <div class="card-header">
                <h4 class="my-0 font-weight-normal">帮我送</h4>
            </div>
            <div class="card-body">
                <h1 class="card-title pricing-card-title">$5 - 30
                    <small class="text-muted">/ 元</small>
                </h1>
                <ul class="list-unstyled mt-3 mb-4">
                    <li>2km内任意送达</li>
                    <li>10秒内快速回复</li>
                    <li>更加快捷</li>
                    <li>品质保障</li>
                </ul>
                <a type="button" class="btn btn-lg btn-block btn-primary" th:href="@{/order/addForDeliver}">送单页面</a>
            </div>
        </div>
        <div class="card mb-4 box-shadow">
            <div class="card-header">
                <h4 class="my-0 font-weight-normal">帮我取</h4>
            </div>
            <div class="card-body">
                <h1 class="card-title pricing-card-title">$5 - 20
                    <small class="text-muted">/ 元</small>
                </h1>
                <ul class="list-unstyled mt-3 mb-4">
                    <li>2km内任意送达</li>
                    <li>10秒内快速回复</li>
                    <li>更加快捷</li>
                    <li>品质保障</li>
                </ul>
                <a type="button" class="btn btn-lg btn-block btn-primary" th:href="@{/order/addForTake}">取货页面</a>
            </div>
        </div>
    </div>

    <footer class="pt-4 my-md-5 pt-md-5 border-top">
        <div class="row">
            <div class="col-12 col-md">
                <img class="mb-2" src="https://getbootstrap.com/assets/brand/bootstrap-solid.svg" alt="" width="24"
                     height="24" />
                <small class="d-block mb-3 text-muted">&copy;2018-6-28</small>
            </div>
            <div class="col-6 col-md">
                <h4>安全品质</h4>
                <ul class="list-unstyled text-small">
                    <li><a class="text-muted" href="#">快马派送员系统认证</a></li>
                    <li><a class="text-muted" href="#">独特的编码保温箱</a></li>
                    <li><a class="text-muted" href="#">GSP全程实时追踪</a></li>
                </ul>
            </div>
            <div class="col-6 col-md">
                 <h4>专业培养</h4>
                 <ul class="list-unstyled text-small">
                     <li><a class="text-muted" href="#">军事化管理体制</a></li>
                     <li><a class="text-muted" href="#">分类派送员管理制</a></li>
                     <li><a class="text-muted" href="#">1对1专人服务</a></li>
                 </ul>
             </div>
             <div class="col-6 col-md">
                 <h4>速度保障</h4>
                 <ul class="list-unstyled text-small">
                     <li><a class="text-muted" href="#">平均16秒相应</a></li>
                     <li><a class="text-muted" href="#">最快3分钟上门</a></li>
                     <li><a class="text-muted" href="#">全程59分钟搞定</a></li>
                 </ul>
             </div>
        </div>
    </footer>
</div>


<!-- Bootstrap core JavaScript
================================================== -->
<!-- Placed at the end of the document so the pages load faster -->
<script src="https://code.jquery.com/jquery-3.3.1.slim.min.js" integrity="sha384-q8i/X+965DzO0rT7abK41JStQIAqVgRVzpbzo5smXKp4YfRvH+8abtTE1Pi6jizo" crossorigin="anonymous"></script>
<script src="https://cdnjs.cloudflare.com/ajax/libs/popper.js/1.14.3/umd/popper.min.js" integrity="sha384-ZMP7rVo3mIykV+2+9J3UJ46jBk0WLaUAdn689aCwoqbBJiSnjAK/l8WvCWPIPm49" crossorigin="anonymous"></script>
<script src="https://stackpath.bootstrapcdn.com/bootstrap/4.1.1/js/bootstrap.min.js" integrity="sha384-smHYKdLADwkXOn1EmN1qk/HfnUcbVRZyYmZ4qpPea6sjB/pTJ0euyQp0Mk8ck+5T" crossorigin="anonymous"></script>
</body>
</html>
